import request from "./request"
import qs from "qs"

export let jingpinApi = () => request.get("/products/recommend")

// 定义一个发送验证码
export const SendSmSAPI = (params) => request.post("/sendSMS",
    qs.stringify(params))
// 登录请求
export const phoneReginAPI = (params) => request.post("/phoneRegin",
    qs.stringify(params))
// 微信登录
export const weiXinLoginAPI = (params) => request.post("/wechatUsers/PCLogin",
    qs.stringify(params))
// 手机绑定微信
export const bindingAPI = (params) => request.post("/wechatUsers/binding",
    qs.stringify(params))